@import "./font.scss";

.ZHLX-common-el-tree {
  margin: 10px 0;
}

.ZHLX-dialog {
  &.ZHLX-dialog_center {
    display: flex;
    justify-content: center;
    align-items: center;

    .el-dialog {
      border-radius: 4px;
      margin: 0 !important;

      .el-dialog__header {
        border-bottom: 1px solid #dcdfe6;
        padding: 0 20px;
        height: 48px;
        line-height: 48px;

        .el-dialog__headerbtn {
          // top: 16px;
          // right: 16px;
        }
      }

      .el-dialog__body {
        overflow: auto;
        overflow-x: hidden;
        max-height: 85vh !important;
        padding: 20px;
      }

      .el-dialog__close {
        font-size: 24px;
      }
    }


    &.form-script-dialog {
      .el-dialog .el-dialog__body {
        padding: 20px 20px 10px;
      }

      .form-script-dialog-body {
        height: 600px;
        display: flex;
        overflow: hidden;

        .left-tree {
          height: 600px;
          width: 220px;
          flex-shrink: 0;
          margin-right: 10px;
          overflow: hidden auto;
        }

        .right-main {
          height: 600px;
          flex: 1;
          display: flex;
          flex-direction: column;

          .codeEditor {
            flex: 1;
            border: 1px solid #dcdfe6;
          }

          .tips {
            flex-shrink: 0;
            padding: 8px 16px;
            background-color: #ecf8ff;
            border-radius: 4px;
            border-left: 5px solid #50bfff;
            margin-top: 20px;

            p {
              line-height: 24px;
              color: #5e6d82;

              span {
                display: inline-block;
                padding-right: 10px;
              }
            }
          }
        }
      }
    }

    &.transfer-dialog {
      .el-dialog .el-dialog__body {
        padding: 10px;
      }

      //无
      .transfer-pane__body-tab {
        height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;

        .el-tabs__header {
          margin-bottom: 0;
          flex-shrink: 0;

          .el-tabs__nav {
            width: 100%;

            .el-tabs__item {
              width: 33.33%;
              text-align: center;
              padding: 0 20px;
            }
          }
        }

        &.hasSys-tab {
          .el-tabs__header .el-tabs__nav .el-tabs__item {
            width: 25%;
          }
        }

        .el-tabs__content {
          flex: 1;

          .el-tab-pane {
            height: 100%;
            padding: 10px;
            overflow: auto;

            .ZHLX-common-el-tree {
              margin: 0;
            }
          }
        }
      }
    }

    //无
    &.ZHLX-dialog-tree-select {
      .el-dialog__body {
        height: 60vh;
        padding: 0 0 10px !important;
        display: flex;
        flex-direction: column;
        overflow: hidden;
      }
    }
  }

  &.common-dialogDrag {
    border-radius: 4px;
    overflow: hidden;
    position: relative;

    .el-dialog__header {
      border-bottom: 1px solid #dcdfe6;
      padding: 0 20px;
      height: 48px;
      line-height: 48px;
    }

    .el-dialog__body {
      padding: 20px 20px 0;
      position: absolute;
      left: 0;
      top: 48px;
      bottom: 48px;
      right: 0;
      z-index: 1;
      overflow: hidden;
      overflow-y: auto;
    }
    .el-scrollbar__view{
      height: 100%;
    }
    .el-dialog__footer {
      position: absolute;
      left: 0;
      bottom: 0;
      right: 0;
      padding: 0;
      z-index: 2;
    }

    .el-dialog__close {
      font-size: 24px;
    }

    &.transfer-dialog {
      .el-dialog .el-dialog__body {
        padding: 10px;
      }
    }
  }

  .el-select {
    width: 100%;
  }

  .el-container {
    border: 1px solid #dcdfe6;

    .el-aside {
      padding: 5px;
      margin: 0;
      font-size: 14px;
      border-right: 1px solid #dcdfe6;
    }

    .el-main {
      padding: 5px;
    }
  }
}

.el-table {
  border-top: 1px solid #EBEEF5;

  thead {

    tr,
    tr th {
      background-color: #f5f7fa;
      font-weight: normal;
      color: #606266;
    }
  }

  // 统一修改table表格中checkbox多选框/选择框颜色
  .el-checkbox__inner {
    border: 1px solid #979797;
  }

  .el-switch {
    transform: scale(0.8);
  }

  .el-button--mini.el-button--text {
    padding: 3px 0;
  }

  &.columnTable {
    border-top: none;

    thead {

      tr,
      tr th {
        background-color: #fff;
      }
    }

    td {
      border-bottom: none;
    }

    &.el-table--mini td,
    &.el-table--mini th {
      padding: 3px 0;
    }

    &::before {
      height: 0;
    }
  }

  &::before {
    height: 0 !important;
  }

  .el-table__fixed-right-patch {
    background-color: #f5f7fa;
    top: 0;
  }

  .has-gutter .gutter {
    border-bottom: 1px solid #ebeef5;
  }

  .el-table__empty-block {
    display: inline-block;
  }

  .el-table__column-filter-trigger {
    line-height: 22px;
  }

  .caret-wrapper {
    height: 23px !important;
  }

  .sort-caret.ascending {
    top: 0px !important;
  }

  .sort-caret.descending {
    bottom: 1px !important;
  }
}

.ZHLX-dialog {
  .el-input__validateIcon {
    display: none !important;
  }

  &.ZHLX-dialog_center {
    display: flex;
    justify-content: center;
    align-items: center;

    .el-dialog {
      border-radius: 4px;

      .el-dialog__header {
        border-bottom: 1px solid #dcdfe6;
        padding: 0 20px;
        height: 48px;
        line-height: 48px;
      }

      >.el-dialog__body {
        overflow: auto;
        overflow-x: hidden;
        max-height: 70vh;
        padding: 20px;
      }

      .el-dialog__close {
        font-size: 24px;
      }
    }

    &.transfer-dialog {
      .el-dialog .el-dialog__body {
        padding: 10px;
      }

      .transfer-pane__body-tab {
        height: 100%;
        overflow: hidden;
        display: flex;
        flex-direction: column;

        .el-tabs__header {
          margin-bottom: 0;
          flex-shrink: 0;

          .el-tabs__nav {
            width: 100%;

            .el-tabs__item {
              width: 33.33%;
              text-align: center;
              padding: 0 20px;
            }
          }
        }

        &.hasSys-tab {
          .el-tabs__header .el-tabs__nav .el-tabs__item {
            width: 25%;
          }
        }

        .el-tabs__content {
          flex: 1;

          .el-tab-pane {
            height: 100%;
            padding: 10px;
            overflow: auto;

            .ZHLX-common-el-tree {
              margin: 0;
            }
          }
        }
      }
    }
  }

  .el-select {
    width: 100%;
  }
}

.custom-tree-node {
  // width: calc(100% - 24px);
  width: 0;
  flex: 1;
  display: flex;
  font-size: 0;
  align-items: center;

  i {
    font-size: 14px;
  }

  .text {
    flex: 1;
    font-size: 14px;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
  }

  i+.text {
    padding-left: 6px;
  }

  .more {
    float: right;
  }
}

.mb-5 {
  margin-bottom: 5px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px !important;
}

.mt-8 {
  margin-top: 8px;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.ml-8 {
  margin-left: 8px;
}

.pd-10 {
  padding: 10px;
}

.pd-10-20 {
  padding: 10px 20px;
}

.m-0-10 {
  margin: 0 10px
}

// 处理el-tabs
.ZHLX-el_tabs {
  height: calc(100% - 72px);

  &.el-tabs--top {
    display: flex;
    flex-direction: column;
  }

  .el-tabs__content {
    flex: 1;
    overflow: auto;
    overflow-x: hidden;

    .el-tab-pane {
      height: 100%;
    }
  }
}

#app .plain {
  .el-menu {
    border: none;
    height: 100%;
    width: 100% !important;
    background: #001529;
    color: #fff;
  }

  .main-container {
    margin-left: 80px;
  }

}

.plain.el-menu--vertical {
  top: 0;

  >.el-menu--popup {
    max-height: 100vh;
    overflow-y: auto;
  }
}

.ZHLX-full-dialog {
  .el-dialog__header {
    padding: 0;
  }

  .el-dialog__body {
    padding: 0;
    height: 100%;
    overflow: hidden;
  }

  .ZHLX-full-dialog-header {
    padding: 0 20px;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;

    &.h50 {
      height: 50px;

      .header-title {
        height: 50px;
      }

      .header-logo {
        height: 50px;
      }

      .header-txt {
        line-height: 50px;
      }

      &+.main {
        height: calc(100vh - 50px);
      }
    }

    .header-title {
      height: 60px;
      width: 320px;
    }

    .header-logo {
      width: auto;
      height: 60px;
      vertical-align: top;
      margin-right: 3px;
      font-size: 30px;
      color: #fff;
    }

    .header-txt {
      line-height: 60px;
      display: inline-block;
      margin: 0;
      color: #333;
      font-size: 18px;
    }

    .steps {
      width: 600px;
      padding: 6px 20px;
      background: #fff;
      justify-items: flex-start;
      flex-shrink: 0;

      &.steps2 {
        width: 300px;
      }

      &.steps4 {
        width: 600px;
      }

      .el-step__title {
        cursor: pointer;
      }
    }

    .options {
      width: 320px;
      text-align: right;
    }
  }

  .main {
    height: calc(100vh - 60px);
    overflow: hidden;
    background: #EBEEF5;
    padding: 10px;
    padding-left: 0;

    .basic-box {
      height: 100%;
      overflow: hidden;
    }

    .basicForm {
      background: #fff;
      padding: 20px;
      border-radius: 4px;
      height: 100%;
      overflow: auto;
      overflow-x: hidden;

      .el-select {
        width: 100%;
      }
    }
  }
}

// 重定义element-ui 样式
.el-message-box__wrapper .el-message-box {
  border-width: 0;
}

.el-rate {
  display: inline-block;
  vertical-align: text-top;
}

.el-message-box {
  .el-textarea {
    textarea {
      min-height: 88px !important;
    }
  }
}

.el-table__expanded-cell[class*=cell] {
  padding: 5px 50px 5px 25px !important;
}

.el-button+.el-popconfirm,
.el-button+.el-dropdown,
.el-popconfirm+.el-button,
.el-popconfirm+.el-dropdown {
  margin-left: 10px;
}




.el-input-number.is-controls-right .el-input__inner {
  text-align: left !important;
}

.el-popconfirm__main {
  margin: 14px 0;
}

.el-button [class*=icon-lx-]+span {
  margin-left: 5px;
}

.el-form .el-form-item__content .el-alert__content {
  line-height: 20px;
}

.el-input-number.el-input-number--small {
  width: 160px;
}

// 布局错位问题修正
.el-col {
  .el-form-item--small .el-form-item__label {
    line-height: 33px;
  }

  .el-form-item--mini .el-form-item__label {
    line-height: 29px;
  }
}

.table-switch.el-switch.is-disabled {
  opacity: 1;

  .el-switch__core,
  .el-switch__label {
    cursor: pointer;
  }
}

.table-checkbox.el-checkbox.is-disabled {

  .el-checkbox__inner,
  .el-checkbox__inner::after,
  input,
  .el-checkbox__label {
    cursor: pointer !important;
  }

  .el-checkbox__inner {
    background-color: #fff !important;

    &:hover {
      border-color: #1890ff !important;
    }
  }

  &.is-checked {
    .el-checkbox__inner {
      background-color: #1890ff !important;
      border-color: #1890ff !important;

      &::after {
        border-color: #fff !important;
      }
    }

    input {
      color: #fff !important;
      border-color: #fff !important;
    }
  }

}

.el-dropdown-menu__item .icon-lx {
  vertical-align: -1px;
}

.transfer__body {
  line-height: 32px;
  display: flex;
  justify-content: space-between;
  // padding: 20px 20px 10px;
  height: 480px;

  .transfer-pane {
    width: 360px;
  }

  .transfer-pane__tools {
    margin-bottom: 8px;
    height: 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: content-box;

    .removeAllBtn {
      color: #f56c6c;
    }
  }

  .transfer-pane__body {
    position: relative;
    width: 100%;
    height: calc(100% - 40px);
    overflow: auto;
    overflow-x: hidden;
    font-size: 14px;
    border: 1px solid #dcdfe6;
    border-radius: 4px;

    .el-tab-pane {
      padding: 10px 0 !important;
    }

    &.left-pane {
      .custom-title {
        height: 39px;
        padding: 0 12px;
        line-height: 39px;
        font-size: 14px;
        font-weight: 500;
        color: #303133;
        border-bottom: 1px solid #dcdfe6;

        &+.single-list {
          height: calc(100% - 40px);
        }
      }

      .single-list {
        height: 100%;
        overflow: auto;
        overflow-x: hidden;

        .selected-item-user {
          cursor: pointer;
        }

        .selected-item {
          padding: 0px 12px;
          cursor: pointer;

          &:hover {
            background-color: #f5f7fa;
          }
        }
      }
    }
  }

  .selected-item-user {
    padding: 0 12px;

    &:hover {
      background-color: #f5f7fa;
    }

    .selected-item-main {
      border-bottom: 1px solid #F4F6F9;
      display: flex;
      align-items: center;
      height: 50px;
    }

    .selected-item-headIcon {
      flex-shrink: 0;

      &.icon {
        width: 36px;
        height: 36px;
        text-align: center;

        i {
          font-size: 22px;
          line-height: 36px;
        }
      }
    }

    .selected-item-text {
      min-width: 0;
      flex: 1;
      margin-left: 10px;
      height: 100%;

      .name {
        height: 20px;
        line-height: 20px;
        font-size: 14px;
        margin-bottom: 2px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin-top: 6px;
        // &>span {
        //   color: #409eff;
        //   margin-left: 4px;
        // }
      }

      .organize {
        height: 17px;
        line-height: 17px;
        color: #999999;
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        margin: 0;
      }
    }

    .el-icon-delete:hover {
      color: #f56c6c;
      cursor: pointer;
    }
  }

  .selected-item-user-multiple {
    padding-left: 12px;
    position: relative;

    .selected-item-title {
      font-size: 14px;
      color: #303133;
      display: flex;
      align-items: center;

      span {
        padding-left: 6px;
      }
    }

    .selected-item-main {
      box-sizing: content-box;
      display: flex;
      align-items: center;
      height: 64px;
      padding-left: 21px;
      position: relative;

      &:hover {
        background-color: #f5f7fa;
      }

      &:last-child {
        border-bottom: 1px solid #F2F5F8;
      }

      &:not(:last-child) {
        &:before {
          position: absolute;
          content: "";
          bottom: 0;
          right: 0;
          width: calc(100% - 21px);
          height: 1px;
          background-color: #F2F5F8;
        }
      }
    }

    .selected-item-headIcon {
      flex-shrink: 0;

      &.icon {
        width: 36px;
        height: 36px;
        text-align: center;

        i {
          font-size: 22px;
          line-height: 36px;
        }
      }
    }

    .selected-item-icon {
      width: 36px;
      height: 36px;
      background: linear-gradient(193deg, #A7D6FF 0%, #1990FA 100%);
      border-radius: 50%;
      line-height: 36px;
      color: #FFFFFF;
      font-size: 14px;
      text-align: center;
    }

    .selected-item-text {
      flex: 1;
      margin-left: 10px;
      min-width: 0;

      .name {
        color: #333333;
        height: 20px;
        line-height: 20px;
        font-size: 14px;
        margin-bottom: 2px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }

      .organize {
        color: #999999;
        height: 17px;
        line-height: 17px;
        color: #999999;
        font-size: 12px;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
      }
    }

    .delete {
      margin-right: 15px;
      font-size: 15px;
      align-items: center;

      &:hover {
        color: #f56c6c;
        cursor: pointer;
      }
    }
  }

  .right-pane {
    box-sizing: border-box;
    overflow: auto;
    border: 1px solid #dcdfe6;

    .selected-item {
      padding: 0px 12px;
      display: flex;
      justify-content: space-between;
      align-items: center;

      &:hover {
        background-color: #f5f7fa;
      }

      span {
        max-width: 90%;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
      }

      .el-icon-delete:hover {
        color: #f56c6c;
        cursor: pointer;
      }
    }
  }
}

.popupSelect-container {
  width: 100%;
  height: 100%;
  .popover-container {
    width: 100%;

    .el-popover__reference-wrapper,
    .el-select {
      width: 100%;
      height: 100%;
    }
  }

  &>.el-select {
    width: 100%;
  }
}

.el-table {
  td.child-table-box {
    padding: 0 !important;
    vertical-align: top !important;

    &>.cell {
      padding: 0 !important;
    }
  }

  .table-child-first {
    border-right: none !important;

    .td-child-first {
      width: 1px;
      flex-shrink: 0;
    }
  }
}

.sign-main {
  width: 100%;
  display: flex;
  flex-direction: row;
  align-items: center;

  .sign-img {
    width: 100px;
    height: 50px;
  }

  .add-sign {
    height: 50px;
    font-size: 36px;
    margin-top: 10px;
    color: #2188ff;
  }

  .sign-title {
    font-size: 16px;
    color: #2188ff;
  }
}

/* 左右布局的样式 */
.drag-around-box {
  display: flex;
  background-color: #ffffff;
  border: 1px solid #d9dddf;

  .el-form-item {
    margin-bottom: 0;
  }

  /* 未了防止布局容器出现侧拉条 */
  .el-col {
    margin-bottom: 0 !important;
  }

  .drag-around-left {
    width: calc(20% - 10px);
    flex-shrink: 0;
    position: relative;
  }

  .drag-around-left,
  .drag-around-right {
    &:has(.pdfPlugin, .officePlugin)>.el-scrollbar__wrap {
      height: auto;
    }
  }

  .drag-around-resize {
    width: 22px;
    cursor: ew-resize;
    // width: 22px;
    // cursor: pointer;
    text-align: center;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: transparent;

    .drag-around-resize-left {
      position: absolute;
      top: 40%;
      height: 81px;
      width: 20px;
      margin-bottom: 10px;
      z-index: 99;
      background-image: url('../../assets/ft-images/resize-left-gray.svg');
    }

    .drag-around-resize-right {
      position: absolute;
      top: 50%;
      height: 81px;
      width: 20px;
      z-index: 99;
      background-image: url('../../assets/ft-images/resize-right-gray.svg');
    }

    &:hover,
    &:focus,
    &:active {
      background: #D8D8D8;

      &::before {
        background-color: #979797;
      }
    }

    &::before {
      display: inline-block;
      content: "";
      clear: both;
      width: 1px;
      height: 100%;
      background-color: #979797;
    }
  }

  .drag-around-no-open {
    display: none;
  }

  .drag-around-no-resize {
    cursor: move;

    &:hover,
    &:focus,
    &:active {
      background: transparent;

      &::before {
        background-color: transparent;
      }
    }

    &::before {
      display: inline-block;
      content: "";
      clear: both;
      width: 1px;
      height: 100%;
      background-color: transparent;
    }
  }

  .drag-around-right {
    height: 100%;
    position: relative;
  }

  .drag-wrapper {
    height: 100%;
  }
}

.drag-ud-box {

  //overflow-y: scroll;
  .el-form-item {
    margin-bottom: 0;
  }

  .drag-ud-top {
    height: calc(80% - 5px);
  }

  .mb-10 {
    margin-bottom: 0;
  }

  .el-tabs__header {
    margin: 0;
  }


  .drag-ud-resize {
    height: 12px;
    position: relative;
    cursor: row-resize;

    &:hover,
    &:focus,
    &:active {
      &::before {
        background-color: #1594d4;
      }
    }


    &::before {
      height: 1px;
      width: 100%;
      display: block;
      content: "";
      background-color: #d9dddf;
      clear: both;
      position: relative;
      top: 50%;
    }
  }

  .drag-wrapper {
    height: 100%;

    &::after {
      display: block;
      content: "";
      clear: both;
    }
  }
}

.drag-around-box,
.drag-ud-box {
  .vxe-table {
    min-height: unset !important;
  }

  .drawing-row-item {
    &::after {
      display: block;
      content: "";
      clear: both;
    }
  }

  .drag-around-right,
  .drag-around-left {
    .el-scrollbar__view {
      height: 100% !important;
    }
  }

  .drag-ud-bottom {
    .el-scrollbar__wrap {
      .el-scrollbar__view {
        height: 100% !important;

        .el-row {
          .el-col {
            height: 100%;

            .el-tabs {
              height: 100%;

              .el-tabs__content {
                height: calc(100% - 40px);

                .el-tab-pane {
                  height: 100%;

                  .el-row {
                    height: 100%;

                    .el-form-item {
                      height: 100%;

                      .el-form-item__content {
                        height: 100%;

                        .ZHLX-table-merge {
                          height: 100%;
                        }
                      }
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  }
}

.clear-left {
  .el-form-item__content {
    margin-left: 0 !important;
  }
}

.layout-box-container {
  position: relative;
  width: 100%;
  height: 150px;
  font-size: 12px;
  color: #666;

  .help-txt {
    float: left;
    margin-left: -10px;
    transform: scale(.75);
    box-sizing: border-box;
    line-height: 20px;
  }


  .next-input.next-noborder {
    border: none;
    box-shadow: none;
    border-radius: 3px;

    input {
      text-align: center;
      line-height: 20px;
      height: 20px;
      padding: 0;
      font-size: 12px;
      width: 100%;
      border: none;
      outline: none;
      margin: 0;
      font-weight: 400;
      vertical-align: top;
      background-color: transparent;
      color: #333;
    }
  }

  .margin-top-div {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #d6e4ff;
    transition: all .3s ease;

    .next-input.next-medium {
      position: absolute;
      left: 0;
      right: 0;
      top: -20px;
      height: 20px !important;
      background: transparent;
      width: 100%;
    }

    &:hover {
      border-top: 20px solid #bfd4fb;
    }
  }

  .margin-right-div {
    position: absolute;
    top: 5px;
    bottom: 5px;
    right: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid #d6e4ff;
    transition: all .3s ease;

    .next-input.next-medium {
      position: absolute;
      top: 0;
      bottom: 0;
      right: -20px;
      width: 20px;
      margin: auto;
      background: transparent;
    }

    &:hover {
      border-right: 20px solid #bfd4fb;
    }
  }

  .margin-bottom-div {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #d6e4ff;
    transition: all .3s ease;

    .next-input.next-medium {
      position: absolute;
      left: 0;
      right: 0;
      bottom: -20px;
      height: 20px !important;
      background: transparent;
    }

    &:hover {
      border-bottom: 20px solid #bfd4fb;
    }
  }

  .margin-left-div {
    position: absolute;
    top: 5px;
    bottom: 5px;
    left: 0;
    width: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #d6e4ff;
    transition: all .3s ease;

    .next-input.next-medium {
      position: absolute;
      top: 0;
      bottom: 0;
      left: -20px;
      width: 20px;
      margin: auto;
      background: transparent;
    }

    &:hover {
      border-left: 20px solid #bfd4fb;
    }
  }

  .padding-top-div {
    position: absolute;
    top: 25px;
    left: 25px;
    right: 25px;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 20px solid #d6e4ff;
    transition: all .3s ease;

    .next-input.next-medium {
      position: absolute;
      left: 0;
      right: 0;
      top: -20px;
      height: 20px !important;
      background: transparent;
      width: 100%;
    }

    &:hover {
      border-top: 20px solid #bfd4fb;
    }
  }

  .padding-right-div {
    position: absolute;
    top: 30px;
    bottom: 30px;
    right: 25px;
    width: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-right: 20px solid #d6e4ff;
    transition: all .3s ease;

    input {
      position: absolute;
      top: 0;
      bottom: 0;
      left: -7px !important;
      margin: auto;
      width: 30px !important;
      height: 20px;
      line-height: 20px;
      text-align: center;
      padding: 0 5px;
    }

    .next-input.next-medium {
      position: absolute;
      top: 0;
      bottom: 0;
      right: -21px;
      width: 20px;
      margin: auto;
      background: transparent;
    }

    &:hover {
      border-right: 20px solid #bfd4fb;
    }
  }

  .padding-bottom-div {
    position: absolute;
    bottom: 25px;
    left: 25px;
    right: 25px;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-bottom: 20px solid #d6e4ff;
    transition: all .3s ease;

    .next-input.next-medium {
      position: absolute;
      left: 0;
      right: 0;
      bottom: -20px;
      height: 20px !important;
      background: transparent;
      width: 100%;
    }

    &:hover {
      border-bottom: 20px solid #bfd4fb;
    }
  }

  .padding-left-div {
    position: absolute;
    top: 30px;
    bottom: 30px;
    left: 25px;
    width: 0;
    border-top: 20px solid transparent;
    border-bottom: 20px solid transparent;
    border-left: 20px solid #d6e4ff;
    transition: all .3s ease;

    input {
      width: 30px !important;
      left: -4px !important;
    }

    .next-input.next-medium {
      position: absolute;
      top: 0;
      bottom: 0;
      left: -21px;
      width: 20px;
      margin: auto;
      background: transparent;
    }

    &:hover {
      border-left: 20px solid #bfd4fb;
    }
  }

  .margin-left-div,
  .padding-left-div,
  .padding-right-div,
  .margin-right-div {
    .next-input.next-medium.next-noborder {
      input {
        position: absolute;
        top: 0;
        bottom: 0;
        left: -20px;
        margin: auto;
        width: 60px;
        height: 20px;
        line-height: 20px;
        text-align: center;
        padding: 0 8px;
      }
    }
  }
}

.flex {
  display: flex;
}
.flex-1 {
  flex: 1;
}
.align-items-center {
  align-items: center;
}
.justify-content-start {
  justify-content: start
}
.justify-content-center {
  justify-content: center
}
.pointer {
  cursor: pointer;
}
.text-center {
  text-align: center;
}

/**
 自定义边框颜色css  start
*/
.border-top-red {
  border-top: 1px solid #ff0000;
  box-sizing: border-box;
}
.border-top-black {
  border-top: 1px solid #000000;
  box-sizing: border-box;
}
.border-top-1px {
  border-top-width: 1px;
  box-sizing: border-box;
}
.border-top-2px {
  border-top-width: 2px;
  box-sizing: border-box;
}
.border-top-3px {
  border-top-width: 3px;
  box-sizing: border-box;
}
.border-bottom-red {
  border-bottom: 1px solid #ff0000;
  box-sizing: border-box;
}
.border-bottom-black {
  border-bottom: 1px solid #000000;
  box-sizing: border-box;
}
.border-bottom-1px {
  border-bottom-width: 1px;
  box-sizing: border-box;
}
.border-bottom-2px {
  border-bottom-width: 2px;
  box-sizing: border-box;
}
.border-bottom-3px {
  border-bottom-width: 3px;
  box-sizing: border-box;
}
.border-left-red {
  border-left: 1px solid #ff0000;
  box-sizing: border-box;
}
.border-left-black {
  border-left: 1px solid #000000;
  box-sizing: border-box;
}
.border-left-1px {
  border-left-width: 1px;
  box-sizing: border-box;
}
.border-left-2px {
  border-left-width: 2px;
  box-sizing: border-box;
}
.border-left-3px {
  border-left-width: 3px;
  box-sizing: border-box;
}
.border-right-red {
  border-right: 1px solid #ff0000;
  box-sizing: border-box;
}
.border-right-black {
  border-right: 1px solid #000000;
  box-sizing: border-box;
}
.border-right-1px {
  border-right-width: 1px;
  box-sizing: border-box;
}
.border-right-2px {
  border-right-width: 2px;
  box-sizing: border-box;
}
.border-right-3px {
  border-right-width: 3px;
  box-sizing: border-box;
}
.border-all-red {
  border: 1px solid #ff0000;
  box-sizing: border-box;
}
.border-all-black {
  border: 1px solid #000000;
  box-sizing: border-box;
}
.border-0 {
  border: 0;
}
.border-1px {
  border-width: 1px;
  box-sizing: border-box;
}
.border-2px {
  border-width: 1px;
  box-sizing: border-box;
}
.border-3px {
  border-width: 3px;
  box-sizing: border-box;
}
.font-bold{
  font-weight: bold;
}
.flex1{
  flex: 1 !important;
  max-width: 100%;
}
.width100\%{
  width: 100% !important;
}
.maxwidth100\%{
  max-width: 100% !important;
}
/**
 自定义边框颜色css  end
*/
